libxenlight: clean up the domain when it dies
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 25 Nov 2009 14:19:20 +0000 (14:19 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 25 Nov 2009 14:19:20 +0000 (14:19 +0000)
commit6eeeaeb211e6d1f9f676c7f5e4aaa0e000537977
treed9d4e4901fc94d24251bb124b65dfe01d9fc9816
parent3da979eea119b2293216ba303757f3070647fce6
libxenlight: clean up the domain when it dies

This patch adds two functions to libxenlight to be able to recognize
when a particular domain dies. After creating a domain, xl uses these
functions to wait for its death and clean up its resources.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
tools/libxl/libxl.c
tools/libxl/libxl.h
tools/libxl/xl.c